<template>
	<view>
		<text> asdfasdfsadf111 </text>
		<dropdown :list="list" @onClick="dropDownChange">asdsad</dropdown>
	</view>
</template>

<script>
	export default {
		// components: {
		//     dropdown
		// },
		data() 
		{
			return {
			    list: [
					'请选择专业', '啊啊啊','搜索树','滴滴滴','方法付'
				],
			}
		},
		methods: {
			dropDownChange(index)
			{
				console.log(index, this.list[index]);
			}
		}
	}
	
	
</script>

<style>
</style>
